import Vue from "vue";
import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";
import store from "./store";

import "./components/element-ui";
import "./components/iview";

import "view-design/dist/styles/iview.css";
/*
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
*/

import "./components/vant";

// js
// import Mint from 'mint-ui';
// Vue.use(Mint);
// css
// import 'mint-ui/lib/style.css'

import { Button, Cell, Swipe, SwipeItem } from "mint-ui";
Vue.component(Button.name, Button);
Vue.component(Cell.name, Cell);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
